~:extend('user')~
	~[left]~



	    <div class="span3">
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
              <li class="nav-header">Youwebapp</li>
              <li><a href="~~:url('user')~"><i class="icon-th-list"></i> 主页</a></li>
              <li class="active"><a href="~~:url('add')~"><i class="icon-plus"></i> 添加</a></li>
              <li><a href="~~:url('edit')~"><i class="icon-pencil"></i> 编辑</a></li>

              <li class="nav-header"> USER</li>
              <li><a href="~~:url('config')~"><i class="icon-user"></i> 用户</a></li>
              <li><a href="~~:url('logout')~"><i class="icon-off"></i> 登出</a></li>

            </ul>
          </div><!--/.well -->
        </div><!--/span-->
	~[/left]~

	~[right]~
         
        <div class="span9">
          <div class="hero-unit" style="padding:20px;">
          	<form name="myform" class="form-signin" action="~~:url(:escape($page.path))~" method="post">
          		<strong><span class="lead">题目:</span></strong>&nbsp;&nbsp;  ~~Morrow\Formhtml::getElement('myform', 'title', array("class"=> "input-xlarge"));~ 
          		<p align="right">~~Morrow\Formhtml::getError('myform', 'title');~ </p>
          		~~Morrow\Formhtml::getElement('myform', 'content', array("class"=> "", "dtype"=>"textarea"));~

          		<br/>
          		<button class="btn btn-success" type="submit">提交</button>
          	</form>
          	<script>

				      CKEDITOR.replace( 'mw_myform_content' );

			       </script>

          </div>
   
        
        </div><!--/span-->
	~[/right]~